package com.ling.luo.trade.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 支付宝-其他控制器
 *
 * @author luohoujian
 * @date 2021/04/27
 */
@Slf4j
@RestController
@RequestMapping("/index")
public class AlipayTradeIndexController {


    /**
     * 支付成功通知接口
     * @return
     */
    @GetMapping("/notifyUrl")
    public String notifyUrl () {
        return "notifyUrl pay success";
    }

    /**
     * 支付成功-跳转到该接口
     * @return
     */
    @GetMapping("/returnUrl")
    public String returnUrl () {
        return "returnUrl pay success";
    }


}
